export default {
  sys:{
    "test":"测试",
    "components": {
      "upload": {
        "clickToUploadFile": "点击上传文件",
        "clickToUploadImage": "点击上传图片",
        "download": "下载",
        "delete": "删除",
        "fileSizeLimit": "文件大小不能超过{size}MB",
        "uploadFail": "上传失败，请重试"
      },
      "searchbox": {
        "expand": "展开",
        "collapse": "折叠",
        "search": "搜索",
        "reset": "重置",
        "pleaseInput": "请输入{name}",
        "pleaseSelect": "请选择{name}",
        "start": "开始",
        "end": "结束",
        "to": "至"
      }
    },
    userPage:{
      // 用户列表页面
      pageTitle: "用户管理",
      // 表格列标题
      columns: {
        id: "编号",
        username: "用户名",
        realName: "真实姓名",
        phone: "电话",
        email: "邮箱",
        updatedAt: "更新时间",
        enabled: "是否启用",
        operation: "操作"
      },
      // 状态文本
      status: {
        enabled: "是",
        disabled: "否",
        enable: "启用",
        disable: "停用"
      },
      // 重置密码对话框
      resetPwdDialog: {
        title: "重置 {username} 的密码",
        successMessage: "您重置了用户名为 {username} 的密码"
      },
      // 对话框消息
      dialog: {
        addSuccess: "您添加了用户名为 {username} 的这条数据，默认密码为 devops.123",
        editSuccess: "您编辑了用户名为 {username} 的这条数据",
        confirmChangeStatus: "确认要<strong>{status}</strong> <strong style='color:var(--el-color-primary)'>{username}</strong> 吗?",
        systemPrompt: "系统提示",
        statusChanged: "用户 {username} 已{status}",
        confirmDelete: "确定要删除用户 {username} 吗？",
        deleteSuccess: "您删除了用户名为 {username} 的这条数据"
      },
      searchForm: {
        username: "用户名",
        status: "状态",
        placeholder: {
          username: "请输入用户名",
          status: "请选择状态"
        }
      },
      statusOptions: {
        enabled: "已启用",
        disabled: "已停用"
      },
      table: {
        emptyText: {
          noData: "暂无数据",
          noPermission: "权限不足"
        },
        operation: {
          resetPwd: "重置密码",
          edit: "修改",
          delete: "删除",
          confirmDelete: "是否确认删除用户名为 {username} 的这条数据"
        }
      },
      // 部门树
      deptTree: {
        searchPlaceholder: "请输入部门名称",
        expandAll: "展开全部",
        collapseAll: "折叠全部"
      },
      // 新增/编辑表单
      form: {
        addUser: "新增用户",
        editUser: "编辑用户",
        resetPassword: "重置密码, {username}",
        username: "用户名",
        realName: "真实姓名",
        deptId: "所属部门",
        roleIds: "角色",
        phone: "电话号码",
        email: "邮箱",
        placeholder: {
          username: "请输入用户名",
          realName: "请输入真实姓名",
          deptId: "请选择所属部门",
          roleIds: "请选择角色",
          phone: "请输入电话号码",
          email: "请输入邮箱"
        }
      },
      // 重置密码表单
      resetPwdForm: {
        password: "密码",
        confirmPassword: "确认密码",
        placeholder: {
          password: "请输入密码",
          confirmPassword: "请确认密码"
        },
        rules: {
          passwordRequired: "请输入密码",
          passwordFormat: "密码格式应为6-18位数字、字母、符号的任意两种组合",
          confirmPasswordRequired: "请再次输入密码",
          passwordNotMatch: "两次密码不一致"
        }
      }
    },
    rolePage:{
      pageTitle: "角色管理",
      // 搜索表单
      searchForm: {
        nameOrCode: "角色名称/代码：",
        placeholder: "请输入角色名称/代码"
      },
      // 按钮文本
      buttons: {
        search: "搜索",
        reset: "重置",
        addRole: "新增角色",
        modify: "修改",
        delete: "删除",
        save: "保存",
        confirm: "确认",
        cancel: "取消"
      },
      // 表格列标题
      columns: {
        id: "编号",
        name: "名称",
        code: "代码",
        updatedAt: "更新时间",
        operation: "操作"
      },
      // 表格状态文本
      table: {
        emptyText: "没有数据",
        noPermission: "权限不足"
      },
      // 对话框相关
      dialog: {
        addTitle: "新增角色",
        editTitle: "编辑角色",
        deleteConfirm: "是否确认删除名称为 {name} 的这条数据",
        addSuccess: "您新增了名称为 {name} 的这条数据",
        editSuccess: "您编辑了名称为 {name} 的这条数据",
        deleteSuccess: "您删除了名称为 {name} 的这条数据"
      },
      // 表单相关
      form: {
        name: "名称",
        code: "代码",
        placeholder: {
          name: "请输入角色名称",
          code: "请输入角色代码"
        },
        rules: {
          nameRequired: "名称为必填项",
          codeRequired: "代码为必填项"
        }
      },
      // 权限树相关
      permissionTree: {
        title: "角色权限",
        noRoleSelected: "当前未选择角色",
        searchPlaceholder: "请输入关键字查找",
        save: "保存"
      }
    },
    deptPage:{
      pageTitle: "部门管理",
      searchForm: {
        name: "部门名称：",
        placeholder: "请输入部门名称"
      },
      buttons: {
        search: "搜索",
        reset: "重置",
        add: "新增部门",
        addChild: "新增",
        edit: "编辑",
        delete: "删除"
      },
      columns: {
        name: "部门名称",
        rank: "排序",
        updatedAt: "更新时间",
        operation: "操作"
      },
      table: {
        emptyText: "暂无数据",
        noAuth: "权限不足"
      },
      dialog: {
        addTitle: "新增部门",
        editTitle: "编辑部门",
        deleteConfirm: "是否确认删除部门名称为 {name} 的这条数据",
        addSuccess: "您新增了部门名称为 {name} 的这条数据",
        editSuccess: "您编辑了部门名称为 {name} 的这条数据",
        deleteSuccess: "您删除了部门名称为 {name} 的这条数据"
      },
      form: {
        parentId: "上级部门",
        name: "部门名称",
        rank: "排序",
        placeholder: {
          parentId: "请选择上级部门",
          name: "请输入部门名称"
        },
        rules: {
          nameRequired: "部门标题为必填项",
          rankRequired: "排序为必填项"
        }
      }
    }
  }
}
